package com.wust.service;

import com.wust.db.DataSource;
import com.wust.entity.Data;

import java.util.List;

/**
 * Created by lenovo on 2018/5/30.
 *
 * 将IoT_platform的中的数据取出来，封装写入car_health中
 */
public interface IDataService {

    Data selectLatestDeviceData(int deviceId);

    //    @DataSource(value = "ds1")
//    Data selectLatestDeviceFirstData(int deviceId);
//
//    //    @DataSource(value = "ds1")
//    Data selectLatestDeiviceSecondData(int deviceId);
//
////    @DataSource(value = "ds1")
//    List<Data> selectLatestDeviceFirstDatas(int deviceId);
//
////    @DataSource(value = "ds1")
//    List<Data> selectLatestDeiviceSecondDatas(int deviceId);

}
